﻿namespace OutLook.Model.Domains
{
    using System.Runtime.Serialization;

    [DataContract]
    public class ElementDistribution
    {
        #region Constructors

        /// <summary>
        /// Initializes new instance of Elements Distribution
        /// </summary>
        /// <param name="title">Title of chemical combination which can be in load</param>
        /// <param name="kind">Kind of distribution of elements in chemical combination</param>
        /// <param name="lookInCastIron">View of chemical combination after distribution in cast iron</param>
        /// <param name="lookInSlag">View of chemical combination after distribution in slag</param>
        public ElementDistribution(string title, string kind, string lookInCastIron, string lookInSlag)
        {
            Title = title;
            Kind = kind;
            LookInCastIron = lookInCastIron;
            LookInSlag = lookInSlag;
        }

        #endregion

        #region Properties

        /// <summary>
        /// Title of chemical combination which can be in load
        /// </summary>
        [DataMember(Order = 1)]
        public string Title { get; set; }

        /// <summary>
        /// Kind of distribution of elements in chemical combination
        /// </summary>
        [DataMember(Order = 2)]
        public string Kind { get; set; }

        /// <summary>
        /// View of chemical combination after distribution in cast iron
        /// </summary>
        [DataMember(Order = 3)]
        public string LookInCastIron { get; set; }

        /// <summary>
        /// View of chemical combination after distribution in slag
        /// </summary>
        [DataMember(Order = 4)]
        public string LookInSlag { get; set; }

        #endregion
    }
}
